<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<title>长江大学校园公益公益短片大赛</title>
<base target="_blank"/>
<meta name="keywords" content="长江大学校园公益公益短片大赛，长大公益公益短片大赛，长江大学，青春长大,长江大学团委,长大在线，长大在线信息传媒" />
<meta name="description" content="长江大学校园公益公益短片大赛" />
<meta property="qc:admins" content="7426161554561574526727" />
<meta name="vote" content="{:U('vote/index')}" />
<link href="{:C('TPL_PATH')}{:C('DEFAULT_THEME')}/public/css/style.css" type="text/css" rel="stylesheet" media="all"/>
<script src="http://libs.baidu.com/jquery/1.8.0/jquery.min.js"></script>
<script type="text/javascript" src="{:C('TPL_PATH')}{:C('DEFAULT_THEME')}/public/ckplayer/ckplayer.js" charset="utf-8"></script>
</head>
<body>
<div class="big">
   <div class="banner">

   		<eq name="us" value="">
   			<a class="login" title="未登录" style="cursor:pointer;"><img src="{:C('TPL_PATH')}{:C('DEFAULT_THEME')}/public/image/yuol_w.png" alt="登录" />请登录</a>
			<form class="logbox box-shadow" action="{:U('User/validate')}" method="post" style="display:none;">
				<a style="float:right;margin-right:5px;font-size:18px;font-family:consolas;cursor:pointer;" title="关闭" onclick="$('form').hide('slow');">X</a>
				<label for="用户登录" class="title">用户登录(请用<a href="http://bbs.yuol.cn" style="font-family:'微软雅黑';font-size:18px;">百舸争流</a>帐号登录)</label><br />
				<li class="col">
					<label for="用户名" class="label">用户名</label><input type="text" name="username" id="">
				</li>
				<li class="col">
					<label for="密码" class="label">密码</label><input type="password" name="password" id="">
				</li>
				<input type="submit" value="登录"><a href="http://bbs.yuol.cn/member.php?mod=register">去注册</a>
			</form>
		</eq>
		<neq name="us" value="">
			<a href="{:U('User/logout')}" class="login" title="{$us}用户"><img src="{:C('TPL_PATH')}{:C('DEFAULT_THEME')}/public/image/yuol_w.png" alt="登录" />{$us}用户,登出</a>
		</neq>

   		
   </div>
 
  	  <div class="con_2" >
	     <div class="mylist">
		   <ul>

			<foreach name="list" item="vo">

		   	<li>
			<div class="list_1 video">
			   <div class="list_2" id="a{$vo.id}">

			   </div>
			   <h2 title="{$vo.title}">{$vo.id}号作品名称:《{$vo.title|msubstr=0,7}》</h2>
			   <h3>作者:{$vo.author}</h3>
			   <h4><input type="image" src="{:C('TPL_PATH')}{:C('DEFAULT_THEME')}/public/image/vote.jpg" value="{$vo.id}"><a id="vcount{$vo.id}" style="color:red;position:absolute;padding-top:7px;">票数:{$vo.votes}</a></h4>
			</div>
			</li>
			<script>
			/*<[CDATA*/
				var flashvars{$vo.id}={
					f:'{$vo.url}',
					i:'{$vo.shot}',//初始图片地址
					x:'{:C('TPL_PATH')}{:C('DEFAULT_THEME')}/public/ckplayer/ckplayer.xml',
					d:'{:C('TPL_PATH')}{:C('DEFAULT_THEME')}/public/ckplayer/yuol.jpg',//暂停时如果是图片的话，加个链接地址
					s:'0',//调用方式，0=普通方法（f=视频地址），1=网址形式,2=xml形式，3=swf形式(s>0时f=网址，配合a来完成对地址的组装)
					c:'1',//是否读取文本配置,0不是，1是
					b:1,
					m:'1',//默认是否采用点击播放按钮后再加载视频，0不是，1是,设置成1时不要有前置广告
					l:'http://bcs.duapp.com/yuolst/video%2Fyuol.mp4',//前置广告，swf/图片/视频，多个用竖线隔开，图片和视频要加链接地址
					t:'20'//视频开始前播放swf/图片时的时间，多个用竖线隔开
				};
				CKobject.embedSWF('{:C('TPL_PATH')}{:C('DEFAULT_THEME')}/public/ckplayer/ckplayer.swf','a{$vo.id}','ckplayer_a{$vo.id}','226','175',flashvars{$vo.id});
			/*]>*/
			</script>

			</foreach>
			
		   </ul>
		 
		 </div>  
	  <hr />
	  </div>
		<div class="page">
		         第{$cp}页|共{$tp}页	<span class="page_1"><a href='?page=<notbetween name="cp" value="2,tp">1'</notbetween> class="current">上一页</a></span>
		
		<if condition="($tp elt 5)"> 
			<span class="page_2">

				<for start="1" end="($tp+1)">
					<a href="?page={$i}"
					<if condition="($cp eq $i)">
						class="current_page"
					</if>
					>{$i}</a>
				</for>

			</span>
		<else /> 
			<span class="page_2">
				<a href="?page={$cp-2}">{$cp-2}</a>
				<a href="?page={$cp-1}">{$cp-1}</a>
				<a href="?page={$cp}" class="current">{$cp}</a>
				<a href="?page={$cp+1}">{$cp+1}</a>
				<a href="?page={$cp+2}">{$cp+2}</a>
			</span>
		</if>

				<span class="page_1"><a href='?page=<notbetween name="cp" value="1,tp">{$tp}</notbetween>'>下一页</a></span>
		</div>
	 <div class="footer_1">
	    <ul>
	    	<li><a href="#"><img src="{:C('TPL_PATH')}{:C('DEFAULT_THEME')}/public/image/a.gif" /></a></li>
			<li><a href="#"><img src="{:C('TPL_PATH')}{:C('DEFAULT_THEME')}/public/image/b.gif" /></a></li>
			<li><a href="#"><img src="{:C('TPL_PATH')}{:C('DEFAULT_THEME')}/public/image/c.gif" /></a></li>
	    </ul>
	 </div>
	 <div class="footer_2">
	    <span>设计与制作：<a href="http://www.yuol.cn">长大在线</a></span><span>版权所有：<a href="#">长江大学共青团</a></span>
	 </div>
<script type="text/javascript" src="{:C('TPL_PATH')}{:C('DEFAULT_THEME')}/public/js/vote.js" charset="utf-8"></script>
</div>
</body>
</html>